package cn.ibizlab.odoo.core.odoo_repair.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_repair.domain.Repair_cancel;
import cn.ibizlab.odoo.core.odoo_repair.filter.Repair_cancelSearchContext;

/**
 * 实体[Repair_cancel] 服务对象接口
 */

public interface IRepair_cancelService{
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Repair_cancel> repair_cancels, int batchSize) ;
     boolean update(Repair_cancel repair_cancel) ;
     boolean create(Repair_cancel repair_cancel) ;
     Repair_cancel get(Integer id) ;
     Repair_cancel get(Repair_cancel repair_cancel) ;
     void updateBatch(List<Repair_cancel> repair_cancels, int batchSize) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Repair_cancel> searchDefault(Repair_cancelSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Repair_cancel> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Repair_cancel> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Repair_cancel convert2Domain(cn.ibizlab.odoo.core.client.model.Irepair_cancel model ,Repair_cancel domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Irepair_cancel convert2Model(Repair_cancel domain , cn.ibizlab.odoo.core.client.model.Irepair_cancel model);

}
